﻿using B.S.DataBase.MyProject.Domain.Procurements;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using T.E.ERP.Read.API.Dtos.Dtos;

namespace T.E.ERP.Read.API.Applicantions.Command.ProcurementsCommand
{
    /// <summary>
    /// 采购发票命令
    /// </summary>
    public class GetPurchaseCommand:IRequest<APIResult<List<PurchaseDTO>>>
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public long DocumentCode { get; set; }
        /// <summary>
        /// 发票号码
        /// </summary>
        public string? InvoiceNumber { get; set; }
        /// <summary>
        /// 开票开始日期
        /// </summary>
        public DateTime? BeginDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
    }
}
